﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using DaInterFace;

namespace DaFunction.Transfer
{
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
    public class TransferApi : ITransferApi
    {
        public String KEW_GetRightInfomation(String pswd, String name, String finger, String lisense)
        {
            String value = "";
            try
            {
                RightServer.Service service = new RightServer.Service();
                service.Url = "http://www.zzlysbd.com:30003/Service.asmx";
                RightServer.COMMO remote = service.KEW_GetRightInfomation(pswd, name, finger, lisense);

                value = XML.Serializer(typeof(RightServer.COMMO), remote);
            }
            catch (Exception ex)
            { 
                
            }
            return value;
        }
    }


}
